#ifndef MY_SPLITTER_WND_H
#define MY_SPLITTER_WND_H
#include <afxpriv.h>
class myBaseSplitterWnd : public CSplitterWnd
{
public:
	myBaseSplitterWnd();
	virtual ~myBaseSplitterWnd();

	virtual void OnDrawSplitter(CDC* pDC, ESplitType nType, const CRect& rectArg);
	virtual void RecalcLayout();    // call after changing sizes

	static void DeferClientPos(AFX_SIZEPARENTPARAMS* lpLayout,
		CWnd* pWnd, int x, int y, int cx, int cy, BOOL bScrollBar);
	static void LayoutRowCol(CSplitterWnd::CRowColInfo* pInfoArray,
		int nMax, int nSize, int nSizeSplitter);

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(myBaseSplitterWnd)
	//}}AFX_VIRTUAL

	// Generated message map functions
protected:
	//{{AFX_MSG(myBaseSplitterWnd)
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

#endif